package com.zzy.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.zzy.domain.dto.GoodsDto;
import com.zzy.domain.po.SKU;
import com.zzy.domain.po.SPU;
import com.zzy.domain.vo.GoodsVo;
import com.zzy.domain.vo.PageResult;

import java.util.List;

public interface GoodsService extends IService<SPU> {
    Boolean addGoods(SPU spu);

    PageResult<GoodsVo> getGoodsAll(GoodsDto goodsDto);

    List<SKU> getAllSku();

    List<GoodsVo> getAllGoodsWithCategory();
}
